package com.qfedu.yuxiaoer.mapper;

import com.qfedu.yuxiaoer.entity.PreMessage;
import com.qfedu.yuxiaoer.entity.PreMessageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PreMessageMapper {
    long countByExample(PreMessageExample example);

    int deleteByExample(PreMessageExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PreMessage record);

    int insertSelective(PreMessage record);

    List<PreMessage> selectByExample(PreMessageExample example);

    PreMessage selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PreMessage record, @Param("example") PreMessageExample example);

    int updateByExample(@Param("record") PreMessage record, @Param("example") PreMessageExample example);

    int updateByPrimaryKeySelective(PreMessage record);

    int updateByPrimaryKey(PreMessage record);
}